from flask import current_app
from flask import render_template

from info import redis_store
from . import index_blu


@index_blu.route('/')
def index():
    ##向redis中保存一个数值



    return render_template("news/../../static/news/html/../../templates/news/index.html")

@index_blu.route('/favicon')
def favicon():
    return current_app.send_static_file('news/favicon.ico')